package com.zhentao.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName sys_site
 */
@TableName(value ="sys_site")
@Data
public class SysSite implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 省id
     */
    private Integer provinceId;
    @TableField(exist = false)
    private String provinceName;

    /**
     * 市id
     */
    private Integer cityId;
    @TableField(exist = false)
    private String cityName;

    /**
     * 区id
     */
    private Integer areaId;
    @TableField(exist = false)
    private String areaName;

    /**
     * 详细地址
     */
    private String address;

    /**
     * x轴经纬度
     */
    private Double x;

    /**
     * y轴经纬度
     */
    private Double y;

    /**
     * 创建时间
     */
    private Date createTime;

    private String image;
    /**
     * 0不存在 1存在
     */
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}